Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref: Refactor changelog list page #11019

Merged
merged 10 commits into from
Aug 9, 2024
Merged

Conversation

lforst
Copy link
Member

@lforst lforst commented Aug 7, 2024

"cleans up" the changelog list page. This is all a goal to remove hydration errors.

Copy link

vercel bot commented Aug 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
changelog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 9, 2024 11:03am
develop-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 9, 2024 11:03am
sentry-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 9, 2024 11:03am

@lforst lforst closed this Aug 7, 2024
@lforst lforst force-pushed the lforst-refactor-changelog-list-page branch from bb10a47 to dcf71f3 Compare August 7, 2024 10:33
Copy link

codecov bot commented Aug 7, 2024

Bundle Report

Changes will decrease total bundle size by 15 bytes ⬇️

Bundle name Size Change
sentry-docs-server 8.26MB 6 bytes ⬇️
sentry-docs-edge-server 254.16kB 3 bytes ⬇️
sentry-docs-client 6.25MB 6 bytes ⬇️

});

const changelogsWithMdxSummaries = await startSpan(
{name: 'serialize changelog summaries'},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea!

Comment on lines +2 to +7
const now = new Date(date).toLocaleDateString('en-EN', {
year: 'numeric',
month: 'long',
day: 'numeric',
timeZone: 'UTC'
};
const now = new Date(date).toLocaleDateString('en-EN', options);
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

l: we could reuse this formatting, or maybe just use day.js?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is slimmer for now!

@lforst lforst merged commit 708eeac into master Aug 9, 2024
11 checks passed
@lforst lforst deleted the lforst-refactor-changelog-list-page branch August 9, 2024 11:10
@github-actions github-actions bot locked and limited conversation to collaborators Aug 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants